package com.losdun.common.sms;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @Description
 * @Author Sword.Ye
 * @Date 2025/8/22
 **/
@ConfigurationProperties(prefix = "sms.aliyun")
@Data
public class AliyunSmsProperties {

    private String accessKeyId;
    private String accessKeySecret;
    private String endpoint;
    private String signName;
    /**
     * 单位秒
     */
    private Long expire;
    private List<AliyunSmsTemplate> templateCodes;

    @Data
    public static class AliyunSmsTemplate{
        private String code;
        private String name;
        /**
         *
         */
        private String type;
    }
}


